﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CharacterTest.Decorator
{
    public abstract class Decorator : Component
    {
        private Component _component;
        public virtual void Operation()
        {
            //throw new NotImplementedException();
            _component.Operation();
        }
        public Decorator(Component component)
        {
            this._component = component;
        }

    }
}
